package com.aiti.lulian.mapper.gxmh;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.gxmh.entity.GxmhTkVisitHistory;
import com.aiti.lulian.gxmh.vo.GxmhUserVisitHistoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GxmhTkVisitHistoryMapper extends SuperMapper<GxmhTkVisitHistory> {

    Integer queryUserVisitHistoryCount(@Param("userId") String userId, @Param("enterpriseName") String enterpriseName);

    List<GxmhUserVisitHistoryVo> queryUserVisitHistoryList(@Param("userId") String userId);

    void updateVisitHistory(@Param("userId") String userId, @Param("enterpriseName") String enterpriseName);

    void deleteBySearchIdList(@Param("list") List<String> baseIdList);
}
